﻿using System;
using System.Web.Script.Serialization;

namespace viBook.Models
{
    public class ChapterComment
    {
        public int Id { get; set; }
        public string Content { get; set; }
        public DateTime CreatedDate { get; set; }
        public int Vote { get; set; }

        public bool IsVotedUp { get; set; }
        public bool IsVotedDown { get; set; }
        public bool IsReported { get; set; }

        public string UserId { get; set; }
        public virtual User User { get; set; }
        public int ChapterId { get; set; }
        public virtual Chapter Chapter { get; set; }
    }
}